package com.example.config.shiro;

import com.baomidou.mybatisplus.extension.plugins.PerformanceInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @application:
 * @author: LiYuhang
 * @Date: 2021/7/26 9:54
 * @version: 0.1
 * @Description :
 * @Modified By:
 */
@Configuration
@MapperScan("com.example.dao.shiro")
public class MybatisPlusConfig {
    @Bean
    public PerformanceInterceptor performanceInterceptor() {
        return new PerformanceInterceptor();
    }

}
